﻿using Newtonsoft.Json;
using System.Text.Json.Serialization;

namespace N_m3u8DL_RE_easydown.Dtos
{
    public class TaskGroupDto
    {
        [JsonProperty("guid"), JsonPropertyName("guid")]
        public Guid? Guid { get; set; }

        [JsonProperty("name"), JsonPropertyName("name")]
        public string? Name { get; set; }

        [JsonProperty("percentage"), JsonPropertyName("percentage")]
        public double? Percentage { get; set; }

        [JsonProperty("tasks"), JsonPropertyName("tasks")]
        public List<UrlTaskDto>? Tasks { get; set; }
    }
}
